package com.yimi.yinhepda.db.table;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

/**
 * Created on 2017/10/11
 * 服务端同步数据任务表
 * @author 000432
 */

@DatabaseTable(tableName = "SyncServerDataTaskTable") public class SyncServerDataTaskTable {

  @DatabaseField(generatedId = true, canBeNull = false, width = 20) private Long sync_task_id;
  /** 同步任务名字 */
  @DatabaseField(width = 50) private String sync_task_name;
  /** 同步表表名 */
  @DatabaseField(width = 50) private String table_name;
  /** ID列名称 */
  @DatabaseField(width = 50) private String id_column_name;
  /** 请求路径 */
  @DatabaseField(width = 150) private String sync_service_url;
  /** 是否同步:0:"不同步";1:"同步" */
  @DatabaseField(width = 11) private int status;
  /** 最后操作时间 */
  @DatabaseField private String latest_time;
  /** 分页条数 */
  @DatabaseField(width = 11) private int page_size;
  /** 数据来源类型:1,PC端;2,Android;3,PDA */
  @DatabaseField(width = 50) private String from_type;
  /** 按照公司,部门或者全查数据 */
  @DatabaseField(width = 20) private String cdstatus;

  public Long getSync_task_id() {
    return sync_task_id;
  }

  public void setSync_task_id(Long sync_task_id) {
    this.sync_task_id = sync_task_id;
  }

  public String getSync_task_name() {
    return sync_task_name;
  }

  public void setSync_task_name(String sync_task_name) {
    this.sync_task_name = sync_task_name;
  }

  public String getTable_name() {
    return table_name;
  }

  public void setTable_name(String table_name) {
    this.table_name = table_name;
  }

  public String getId_column_name() {
    return id_column_name;
  }

  public void setId_column_name(String id_column_name) {
    this.id_column_name = id_column_name;
  }

  public String getSync_service_url() {
    return sync_service_url;
  }

  public void setSync_service_url(String sync_service_url) {
    this.sync_service_url = sync_service_url;
  }

  public int getStatus() {
    return status;
  }

  public void setStatus(int status) {
    this.status = status;
  }

  public String getLatest_time() {
    return latest_time;
  }

  public void setLatest_time(String latest_time) {
    this.latest_time = latest_time;
  }

  public int getPage_size() {
    return page_size;
  }

  public void setPage_size(int page_size) {
    this.page_size = page_size;
  }

  public String getFrom_type() {
    return from_type;
  }

  public void setFrom_type(String from_type) {
    this.from_type = from_type;
  }

  public String getCdstatus() {
    return cdstatus;
  }

  public void setCdstatus(String cdstatus) {
    this.cdstatus = cdstatus;
  }
}
